package com.example.dao;

import com.example.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface UserMapper {

    List<User> getAllUser();

    int addUser(User user);

    int deleteUserById(int id);

    int updateUser(User user);
}
